const fs = require('fs')
const { json, buffer } = require('stream/consumers')
let path = 'D:\\code\\web_learn\\webpack\\demo\\package.json'
fs.readFile(path, (err, result)=>{
    console.log(result)
    let data = JSON.parse(buffer.toString('utf-8'))
    console.log(data)
})
